//阻塞狮
/*
var fs = require('fs');

var data = fs.readFileSync('./files/1.txt');
console.log(data)//直接输出就是二进制的
console.log(data.toString())//toString就是原本的字符
console.log('程序结束')*/

//非阻塞狮的
var fs = require('fs');

fs.readFile('./files/1.txt',function (err,data) {
    console.log(data.toString())
});
console.log('程序执行结束')
